package com.quanyue.haircut.user.service;

import com.quanyue.haircut.domain.entity.Manager;
import com.quanyue.haircut.user.dto.ManagerCreate;

import java.util.List;

public interface ManagerService {

    List <Manager> findAll(Integer id);

    Manager findByPassword(String username, String password);

    List <Manager> findById(Integer id);

    Manager sessionManager(Integer id);

    Manager add(ManagerCreate managerCreate, Integer id, Integer merchantNo);

    void update(Manager manager);

    void updatePassword(Integer id, String current, String newPassword);

    void remove(Integer id);

    Manager findByMerchantNo(Integer merchantNo);

}
